<template>  
    <el-dialog :visible.sync="dialogVisible" title="编辑">
        <el-form :model="form">
        <!-- 表单内容 -->
        </el-form>
        <template #footer>
        <span class="dialog-footer">
            <el-button @click="dialogVisible = false">取消</el-button>
            <el-button type="primary" @click="submitForm">确定</el-button>
        </span>
        </template>
    </el-dialog>
</template>